how to create a stopwatch using python